# 确保脚本抛出遇到的错误
set -e

git add .

git commit -m 'update page'

git push

yarn build

cd docs/.vuepress/dist

git init

git add .

git commit -m '版本改变'

git config user.name wangsh

git config user.email 949066041@qq.com

git push -f https://gitee.com/a949066041/blog.git master:gh-pages

cd -